package com.tangqihang229350526.mynote.viewmodel

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class LoginViewModel : ViewModel() {
    private val isRight: MutableLiveData<Boolean> = MutableLiveData()

    fun isRight(): LiveData<Boolean> {
        return isRight
    }

    fun setIsRight(v: Boolean) {
        isRight.value = v
    }
}